﻿namespace LayeredArchitectureSample.ViewModel
{
    // TODO: autogenerate
    internal class WareViewModel
    {
        private readonly string _code;

        public WareViewModel(long id, string code)
        {
            Id = id;
            _code = code;
        }

        public string Code
        {
            get { return _code; }
        }

        public long Id { get; private set; }
    }
}